From 00310cf88b96b69c9cfef8e74a2388a5bf214222 Mon Sep 17 00:00:00 2001 From: Dominic Greenberg Date: Sat, 4 Oct 2025 00:32:27 +0200 Subject: [PATCH] ddns-scripts-cloudflare: document API Token auth in comments adjust comments documenting the already supported API Token auth adjust comments with URLs that changed in the meantime adjust comment regarding CF API documentation URL, points to the scripts relevant DNS section Signed-off-by: Dominic Greenberg --- .../files/usr/lib/ddns/update_cloudflare_com_v4.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh b/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh index 8212931953..b88672c12c 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh @@ -6,13 +6,15 @@ #.based on Ben Kulbertis cloudflare-update-record.sh found at http://gist.github.com/benkulbertis #.and on George Johnson's cf-ddns.sh found at https://github.com/gstuartj/cf-ddns.sh #.2016-2018 Christian Schoenebeck -# CloudFlare API documentation at https://api.cloudflare.com/ +# CloudFlare API documentation, section DNS at https://developers.cloudflare.com/api/resources/dns/ # # This script is parsed by dynamic_dns_functions.sh inside send_update() function # # using following options from /etc/config/ddns -# option username - your cloudflare e-mail -# option password - cloudflare api key, you can get it from cloudflare.com/my-account/ +# option username - "Bearer" or your Cloudflare e-mail, depending on the type of credentials used +# for API Token, use "Bearer"; otherwise, with Global API Key, use your Cloudflare e-mail +# option password - Your API Token or your Global API Key, you can create/get either at +# https://dash.cloudflare.com/profile/api-tokens # option domain - "hostname@yourdomain.TLD" # option param_opt - (Optional) key=value pairs that are separated by space # if duplicate keys found, only the last occurrence will be used -- 2.30.2